package com.ruoyi.dynamic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.dynamic.model.pojo.entity.LuckyBagUser;
import java.util.List;

/**
 * <p>
 * 福袋参与用户 服务类
 * </p>
 * @author ${author}
 * @since 2024-11-28
 */
public interface ILuckyBagUserService extends IService<LuckyBagUser> {

    /**
     * 添加参与用户记录
     */
    void addRecord(Long userId, Long roomId, String remark, String nickName, String photo, Integer partWay, Long id);


    /**
     * 获取中奖人数
     */
    List<LuckyBagUser> getUserListId(Long LuckBagId);


    /**
     * 用户是否参与
     */
    boolean isJoinByUser(Long id, Long userId);

}
